Xbasic

SQL::ArgumentsClear Method

Syntax

L Clear()

Description

Remove all arguments from the SQL::Arguments object.

Discussion

The Clear() method removes all arguments from a SQL::Arguments object. Returns true (.t.) if the operation is successful and false (.f.) if it fails.

Example

dim args as SQL::Arguments
args.add("city", "Boston")
args.add("state", "MA")
? args.clear()
= .T.